<div class="form-group">
    <label for="tag" class="col-md-3 control-label">账号</label>
    <div class="col-md-5">
        <input type="text" class="form-control" name="name" id="tag" value="{{ $name }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">邮箱</label>
    <div class="col-md-5">
        <input type="email" class="form-control" name="email" id="tag" value="{{ $email }}" >
    </div>
</div>

<div class="form-group">
    <label for="tag" class="col-md-3 control-label">密码</label>
    <div class="col-md-5">
        <input type="password" class="form-control" name="password" id="tag" value="" >
    </div>
</div>

<div class="form-group">
    <label for="tag" class="col-md-3 control-label">密码确认</label>
    <div class="col-md-5">
        <input type="password" class="form-control" name="password_confirmation" id="tag" value="" >
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">手机</label>
    <div class="col-md-5">
        <input type="tel" class="form-control" name="phone" id="tag" value="{{ $phone }}" >
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">年龄</label>
    <div class="col-md-5">
        <input type="number" class="form-control" name="age" id="tag" value="{{ $age }}" >
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">性别</label>
    <div class="col-md-5">
        
		<select class="form-control" name="sex">
			<option value="1" @if($sex == 1) selected @endif >男</option>
			<option value="0" @if($sex == 0) selected @endif >女</option>
		</select>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">地址</label>
    <div class="col-md-5">
        <input type="text" class="form-control" name="address" id="tag" value="{{ $address }}" >
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">负责人</label>
    <div class="col-md-5">
		<select class="form-control" name="level">
			@foreach($users as $v)
				<option value="{{ $v->id }}" @if($v->id == $level) selected @endif >{{ $v->name }}</option>
			@endforeach
		</select>
    </div>
</div>
<!--<div class="form-group">
    <label for="tag" class="col-md-3 control-label">所属店家</label>
    <div class="col-md-5">
		<select class="form-control" name="commercial">
			<option value="0">我是店家</option>
			
		</select>
    </div>
</div>-->
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">状态</label>
	 <div class="col-md-5">
		<label class="button">
		  <input type="checkbox" style="display:none;" name='status' @if($status==1) checked @endif value='1'>
		  <span></span>
		  <span></span>
		  <span></span>
		</label>
	</div>
</div>
<link rel="stylesheet" href="/css/slide_button.css">




